package com.wzw.tmaceventbus.eventbus;

import java.lang.reflect.Method;

/**
 * @author : wangzw
 * @date : 21-1-7下午4:12
 * @desc :
 */
public class TmacSubscribeMethod {
    private Method method;

    private Class<?> eventType;

    private TmacSubscribeThreadMode tmacThreadMode;


    public TmacSubscribeMethod(Method method, Class<?> eventType, TmacSubscribeThreadMode tmacThreadMode) {
        this.method = method;
        this.eventType = eventType;
        this.tmacThreadMode = tmacThreadMode;
    }

    public Method getMethod() {
        return method;
    }

    public void setMethod(Method method) {
        this.method = method;
    }

    public Class<?> getEventType() {
        return eventType;
    }

    public void setEventType(Class<?> eventType) {
        this.eventType = eventType;
    }

    public TmacSubscribeThreadMode getTmacThreadMode() {
        return tmacThreadMode;
    }

    public void setTmacThreadMode(TmacSubscribeThreadMode tmacThreadMode) {
        this.tmacThreadMode = tmacThreadMode;
    }
}
